﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="admin_users_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Kimland - Người dùng quản lý administrator</title>
    <script type="text/javascript">
        $(function () {
            $(".headerR li:last").addClass("active");
            var text = $("input[id*=hidChar]").val();
            $(".search a").removeClass("active");
            $(".search a[rel=" + text + "]").addClass("active");
        })
       
    </script>
    <style type="text/css">
        .boxMenuL:hover a,.boxMenuL.active a{color:#d80018;text-decoration:none;text-transform:uppercase;}
        .boxMenuL:hover,.boxMenuL.active{margin-bottom:5px;}
        .boxMenuL:hover .l,.boxMenuL.active .l{background:url(/images/sm_l.png) no-repeat;}
        .boxMenuL:hover .m,.boxMenuL.active .m{background:url(/images/sm_m.png) repeat-x;}
        .boxMenuL:hover .r,.boxMenuL.active .r{background:url(/images/sm_r.png) no-repeat;}
        .disable,.disable:hover{color:#000}
        .search{margin:5px 0px 10px 0px}
            .search a{font-weight:bold;} 
            .search .active{color:#000;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="body">
    <div class="bodyL">
        <p class="gOval"><a href="/admin/users/default.aspx" class="nguoidung"></a></p>
        
    </div>
           
    <div class="bodyR">
        <div class="topCatBR">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <a href="/admin/users/default.aspx">Người dùng</a>
                </p>
            </div>            
            <p class="r"></p>
        </div>
        <div class="boxBorder" style="height:500px;min-height:500px;height:auto">
            <div class="info_div" id="fail" runat="server" visible="false">        
                <asp:Label ID="lblMessage" runat="server" Text="" CssClass="ico_cancel"></asp:Label>
            </div>
            <asp:Button ID="btnXoa" runat="server" Text="Xóa" CssClass="buttonA" OnClientClick="return doDel();" onclick="btnDel_Click"/>
            <a href="/admin/users/editor.aspx" class="buttonA"> Thêm mới</a>
            <table id="table">
	        <thead>
	        <tr>
		        <th><input type="checkbox" class="noborder" onclick="doCheckAll(this)"/></th>
		        <th width="150px">Username</th>
		        <th>Last login</th>
                <th>Thao tác</th>
	        </tr>
	        </thead>
	        <tbody>
            <asp:Repeater ID="repUser" runat="server">
            <ItemTemplate>
            <tr>
		        <td class="table_check">
                    <input type="checkbox" id='<%# Eval("id") %>' group='check'/>
                </td>
		        <td class="table_title">
                    <img src='<%# LIB.App_Constant.PATH_UP_USERAVATAR + "/" + Eval("avatar")%>' class="imgAdmin"/>
                    <a href='javascript:void(0)'><%# Eval("username")%> </a>
                </td>		        
		        <td><%# LIB.ConvertUtility.ConvertDateTimeVN1(Convert.ToDateTime(Eval("lastLogin").ToString()))%></td>
		      
                <td><a href='/admin/users/editor.aspx?id=<%# Eval("id") %>' class="graybut" style="width:50px">Sửa</a></span></td>
	        </tr>
            </ItemTemplate>
            </asp:Repeater>	        
	        </tbody>
        </table>
            <asp:HiddenField ID="hidKeyDel" runat="server" /> 
            <asp:HiddenField ID="hidChar" runat="server" /> 
        </div>
    </div>
</div>
</asp:Content>


